#ifndef VIDEOWIDGET_H
#define VIDEOWIDGET_H

#include <QVideoWidget>

class VideoWidget : public QVideoWidget
{
    Q_OBJECT
public:
    VideoWidget(QWidget *parent = 0);

signals:

public slots:

protected:
    void keyPressEvent(QKeyEvent *event); //按键功能定义
    void mouseDoubleClickEvent(QMouseEvent *event); //鼠标双击
    void mousePressEvent(QMouseEvent *event); //鼠标单击

};

#endif // VIDEOWIDGET_H
